package com.cz.video.website.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cz.video.common.core.domain.entity.SysUser;
import com.cz.video.website.domain.WebsiteAccount;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户账户表 Mapper 接口
 * </p>
 *
 * @author 陈智
 * @since 2023-10-12
 */
public interface WebsiteAccountMapper extends BaseMapper<WebsiteAccount>{
    //${ew.getCustomSqlSegment}=== WHERE + 查询条件
    Page<WebsiteAccount> selectPageUserList(@Param("page") Page<SysUser> page, @Param(Constants.WRAPPER) Wrapper<WebsiteAccount> queryWrapper);
}
